﻿<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
    CodeBehind="Default.aspx.vb" Inherits="Assignment1_Calculator._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <p>
        Calculator<br />
        <asp:Label ID="lbl_studentinfo" runat="server"></asp:Label>
    </p>
    <p>
&nbsp;Value:
        <asp:TextBox ID="txtBox_A" runat="server" Width="148px"></asp:TextBox>
&nbsp;<asp:RangeValidator ID="rv_txtBxA" runat="server" ControlToValidate="txtBox_A" 
            ErrorMessage="box must be filled with numbers" MaximumValue="9999" 
            MinimumValue="0" Type="Double"></asp:RangeValidator>
    </p>
    <p>
&nbsp;Value:
        <asp:TextBox ID="txtBox_B" runat="server" Width="145px"></asp:TextBox>
        <asp:RangeValidator ID="rv_TxtBxB" runat="server" ControlToValidate="txtBox_B" 
            ErrorMessage="box must be filled with numbers" MaximumValue="9999" 
            MinimumValue="0" Type="Double"></asp:RangeValidator>
    </p>
    <p>
        <asp:Button ID="btnCalculate" runat="server" Text="Calculate" />
&nbsp;
        <asp:Label ID="lblResult" runat="server"></asp:Label>
    </p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
</asp:Content>
